<script lang="ts" setup>
import UiHeader from './Header.vue'
import UiMain from './Main.vue'
import UiAside from './Aside.vue'

const cls = 'ui-frame'
</script>

<template>
  <div :class="cls">
    <UiAside />
    <div :class="`${cls}_content`">
      <UiHeader />
      <UiMain />
    </div>
  </div>
</template>

<style lang="scss">
.ui-frame {
  height: 100vh;
  display: flex;
  > * {
    height: 100%;
  }
  &_content {
    flex: 1;
    width: 0;
    display: flex;
    flex-direction: column;
  }
}
</style>
